package com.example.qecode.service;

import com.example.qecode.pojo.User;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.google.zxing.ChecksumException;
import com.google.zxing.FormatException;
import com.google.zxing.NotFoundException;
import com.google.zxing.WriterException;
import org.springframework.stereotype.Service;

import java.awt.image.BufferedImage;
import java.io.IOException;

public interface QECodeService {
    //生成二维码
    void createQE() throws IOException, WriterException;

    //根据路径解析
    String decode() throws IOException, WriterException, ChecksumException, NotFoundException, FormatException;
}
